package com.project.code.luck.entity.params;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * luck模块 好运用户 add 参数
 *
 * @author WangYan
 * @date 2023-05-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Builder
@ApiModel(value = "luck模块 好运用户 add 参数")
public class LuckUserAddParams {

    @ApiModelProperty(value = "id", required = false)
    private Long id;

    @NotBlank(message = "用户openId 不能为空")
    @ApiModelProperty(value = "用户openId", required = true)
    private String openId;

    @NotBlank(message = "用户手机号 不能为空")
    @ApiModelProperty(value = "用户手机号", required = true)
    private String phoneNum;


}
